package mysql

import "gorm.io/gorm"

type User struct {
	gorm.Model
	Account  string `gorm:"type:varchar(20);not null" json:"account"`
	Password string `gorm:"type:char(32);not null" json:"password"`
	Name     string `gorm:"type:varchar(20)" json:"name"`
	Image    string `gorm:"type:varchar(500)" json:"image"`
	Address  string `gorm:"type:varchar(30)" json:"address"`
}
